package org.jeecg.modules.basic.outstock.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 出库管理表
 * @Author: jeecg-boot
 * @Date:   2021-04-02
 * @Version: V1.0
 */
@Data
@TableName("lwgy_out_stock")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lwgy_out_stock对象", description="出库管理表")
public class LwgyOutStock implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**校区*/
	@Excel(name = "校区", width = 15,dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
    @ApiModelProperty(value = "校区")
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
    private java.lang.String studentCampus;

    /**所属仓库*/
    @Excel(name = "仓库名字", width = 15,dictTable = "lwgy_material_inventory",dicCode = "id",dicText = "inventory_name")
    @Dict(dictTable = "lwgy_material_inventory",dicCode = "id",dicText = "inventory_name")
    @ApiModelProperty(value = "仓库名字")
    private String name;


    @Excel(name = "出库编号", width = 15)
    @ApiModelProperty(value = "出库编号")
    private java.lang.String stockNo;
    @Excel(name = "申请人", width = 15)
    @ApiModelProperty(value = "申请人")
    private java.lang.String writerId;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "申请时间")
    private java.util.Date writeTime;
    @Excel(name = "出库", width = 15)
    @ApiModelProperty(value = "出库")
    private Double progress;
    @Excel(name = "审核人", width = 15)
    @ApiModelProperty(value = "审核人")
    private java.lang.String checkId;
    @Excel(name = "出库状态", width = 15,dicCode = "out_state")
    @ApiModelProperty(value = "出库状态")
    @Dict(dicCode = "out_state")
    private java.lang.String outState;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
    private java.util.Date checkTime;
    @Excel(name = "审核备注", width = 15)
    @ApiModelProperty(value = "审核备注")
    private java.lang.String checkNote;
    @ApiModelProperty(value = "审批人")
    private java.lang.String reviewId;
    @ApiModelProperty(value = "审批备注")
    private java.lang.String reviewNote;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审批时间")
    private java.lang.String reviewTime;
    @Excel(name = "审批状态", width = 15,dicCode = "reviews_state")
    @ApiModelProperty(value = "审批状态")
    @Dict(dicCode = "reviews_state")
    private java.lang.String reviewsState;

	/**出库日期*/
	@Excel(name = "出库日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "出库日期")
    private java.util.Date outStockDate;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;

	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;

}
